/**
 * By Alpha
 * Author: alixez <alixe.z@foxmail.com>
 * Date: 2017/11/2
 */
import { request, config } from 'utils';

const { api } = config;
const { menus } = api;

export async function queryMenus (params) {
  return request({
    url: menus,
    method: 'get',
    data: params,
  });
}
